<template>
  <header>
    <div>
      <i @click="$router.back()"> < </i>
    </div>
    <div>
      <span>登录/注册</span>
    </div>
    <div>
      <!-- <i class="iconfont icon-liaotian"></i> -->
    </div>
  </header>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
</script>

<style scoped>
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 2rem;
  color: #fff;
  background-color: #ff5777;
}

header span {
  font-size: 0.7rem;

}

header i {
  padding: 0 0.4rem;
  font-size: 0.6rem;
}
</style>
